﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogOn.aspx.cs" Inherits="ServicesDirectory.LogOn" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>LogOn</title>
    <link href="Resources/Css/login-box.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <div id="login-box">
                    <h2>
                        LogOn</h2>
                    <div id="login-box-name" style="margin-top: 20px;">
                        Username:</div>
                    <div id="login-box-field" style="margin-top: 20px;">
                        <asp:TextBox ID="TxtUserName" CssClass="form-login" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" SetFocusOnError="True" ControlToValidate="TxtUserName"
                            Display="None" runat="server" ErrorMessage="Username can't be left blank!"></asp:RequiredFieldValidator>
                    </div>
                    <div id="login-box-name">
                        Password:</div>
                    <div id="login-box-field">
                        <asp:TextBox ID="TxtPassword" CssClass="form-login" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" SetFocusOnError="True" ControlToValidate="TxtPassword"
                            Display="None" runat="server" ErrorMessage="Password can't be left blank!"></asp:RequiredFieldValidator>
                    </div>
                    <br />
                    <span class="login-box-options">
                        <asp:CheckBox ID="cbRemember" runat="server" Text="Remember Me" />
                        <a href="ForgotPassword.aspx" style="margin-left: 30px;">Forgot password?</a></span>
                    <br />
                    <br />
                    <br />
                    <asp:ImageButton ID="BtnLogOn" CssClass="btnlogin" runat="server" OnClick="BtnLogOnClick"
                        ImageUrl="Resources/Images/login-btn.png" />
                    <br />
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                    <asp:Label CssClass="btnlogin" ID="lblStatus" runat="server" ForeColor="Red"></asp:Label>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
